import java.io.DataOutputStream;
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;

/**
 * Project : SRCS-TME2
 * Date : 2 mars 2011
 * Author : Yoann
 */
/**
 * @author Yoann
 *
 */
public class Client {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			Socket client = new Socket("127.0.0.1",12345);
			DataOutputStream dos = new DataOutputStream(client.getOutputStream());
			dos.writeBytes("GET\n");
			dos.flush();
		} catch (UnknownHostException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

}
